package com.onesports.intelligent.k12.polarlight.domain.vo.operation;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.onesports.intelligent.k12.polarlight.domain.vo.organization.CoachCampusRelVO;
import com.onesports.intelligent.k12.polarlight.domain.vo.organization.CoachScheduleTemplateRelVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.time.Instant;
import java.util.List;

/**
 * @author wangcx
 **/
@Data
@ApiModel("运营端教练分页VO")
public class PageOperationCoachVO {

    @ApiModelProperty(value = "教练id")
    private String id;

    @ApiModelProperty(value = "教练姓名")
    private String name;

    @ApiModelProperty(value = "教练状态")
    private Boolean status;

    @ApiModelProperty(value = "手机号")
    private String phone;

    @ApiModelProperty(value = "服务校区")
    private List<CoachCampusRelVO> coachCampusRelVoList;

    @ApiModelProperty(value = "运营团队名称")
    private String organizationName;

    @NotBlank(message = "请选择教练类型")
    @ApiModelProperty(value = "教练类型 1：全职教练 2：兼职教练")
    private String coachType;

    @ApiModelProperty(value = "授课类型(课程名称）")
    private String subNames;

    @ApiModelProperty(value = "上课时间段")
    private List<CoachScheduleTemplateRelVO> coachScheduleTemplateRelVoList;

    @ApiModelProperty(value = "创建人")
    private String createBy;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "创建时间")
    private Instant createDate;


}
